package model

import zio.json.{DeriveJsonDecoder, DeriveJsonEncoder, JsonDecoder, JsonEncoder}

case class EventType(`type`: EventTypeEnum)

object EventType {
  given JsonDecoder[EventType] = DeriveJsonDecoder.gen[EventType]
  given JsonEncoder[EventType] = DeriveJsonEncoder.gen[EventType]
}
